var changePage = function (element) {
    var nav = $(element).attr("data").split("-");
    var href = $(element).attr("href");
    var strNav = "";
    $.each(nav, function (i, d) {
        if (i == 0) {
            strNav += '<a href="javascript:void(0);" class="tip-bottom"><i class="icon-home"></i>' + d + '</a>';
        }
        else if (i == nav.length - 1) {
            strNav += ' <a href="javascript:void(0)"  class="current">' + d + '</a>';
        }
        else {
            strNav += ' <a href="javascript:void(0)" class="tip-bottom">' + d + '</a>';
        }
    });
    $("#breadcrumb").html(strNav);
    $("#mainContent").attr("src", href);
    return false;
}